package com.it.ems.service;

import com.it.ems.entity.UserRole;
import java.util.List;

public interface UserRoleService {
    List<UserRole> findByUserId(Long userId);
    List<UserRole> findByRoleId(Long roleId);
    boolean save(UserRole userRole);
    boolean delete(Long id);
    boolean deleteByUserId(Long userId);
    boolean deleteByRoleId(Long roleId);
} 